package com.mass.waybill.order.dao;

import com.mass.waybill.order.model.WbShippingOrder;
import com.mass.waybill.order.model.WbShippingOrderExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: ZSX
 * @Description: 订单
 */
@Mapper
public interface WbShippingOrderMapper {
    /**
     * @mbg.generated
     */
    long countByExample(WbShippingOrderExample example);

    /**
     * @mbg.generated
     */
    int deleteByExample(WbShippingOrderExample example);

    /**
     * @mbg.generated
     */
    int deleteByPrimaryKey(Long id);

    /**
     * @mbg.generated
     */
    int insert(WbShippingOrder record);

    /**
     * @mbg.generated
     */
    int insertSelective(WbShippingOrder record);

    /**
     * @mbg.generated
     */
    List<WbShippingOrder> selectByExample(WbShippingOrderExample example);

    /**
     * @mbg.generated
     */
    WbShippingOrder selectByPrimaryKey(Long id);

    /**
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") WbShippingOrder record, @Param("example") WbShippingOrderExample example);

    /**
     * @mbg.generated
     */
    int updateByExample(@Param("record") WbShippingOrder record, @Param("example") WbShippingOrderExample example);

    /**
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(WbShippingOrder record);

    /**
     * @mbg.generated
     */
    int updateByPrimaryKey(WbShippingOrder record);
}